import { ColumnProps } from "/@/components/ProTable/interface";
import { genderType, userLocked } from "/@/utils/serviceDict";

// 配置项
const columns = (): Partial<ColumnProps>[] => {
    return [{
            type: "selection",
            width: 60,
            fixed: "left"
        },
        {
            type: "index",
            label: "#",
            width: 60
        },
        {
            prop: "title",
            label: "任务标题",
            search: true,
        },
        {
            prop: "approveDate",
            label: "申请日期",
            width: 180,
            search: true,
        },
        {
            prop: "approveName",
            label: "申请人",
            width: 180,
            search: true,
        },
        {
            prop: "dataStatus",
            label: "当前状态",
            width: 120,
            search: true,
        },
        {
            prop: "processType",
            label: "申请类型",
            width: 180,
            search: true,
        },
        {
            prop: "operation",
            label: "操作",
            width: 200,
            fixed: "right"
        }
    ]
}

export default columns;